package com.situ.personal.dao;

import java.util.List;

import com.situ.personal.entity.PageInfo;
import com.situ.personal.entity.User;
import com.situ.personal.vo.UserDeptVO;

public interface IUserDao {
	public List<User> selectAll();
	public List<User> selectByPage(int offset, int pageSize); 
	public int selectTotalCount();
	public int deleteById(int id);
	public int insert(User user);
	public User selectById(int id);
	public int update(User user);
	public List<UserDeptVO> selectUserDeptInfo();
	public User login(String name, String password);
}